<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ include file="/admin/common.jsp"%>
<%@ page import="com.bci.pwtz.common.util.SpringUtil" %>
<%

%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>配网数据-短信群发</title>
<link href="<%=basePath %>admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/css/llcss.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=basePath %>js/jquery/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=basePath %>js/toolutils.js"></script>
<script type="text/javascript" src="<%=basePath %>js/ajaxfileupload.js"></script>
<script type="text/javascript" src="<%=basePath %>js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/hd_ll.js"></script>
<script type="text/javascript" src="<%=basePath %>admin/js/common.js"></script>
<script type="text/javascript">
</script>
<script type="text/javascript" src="<%=basePath %>admin/m/js/sms.js"></script>
<style type="">
.import{
width: 90px;
height: 30px;
margin-right:60%;
background: #30b99f;
line-height: 30px;
font-size: 12px;
color:#fffdff;
text-align: center;
border: none;
border-radius: 4px;
border:1px;
float:right;
margin-top:10px;
margin-bottom: 10px;
}
.argument_cont_title{
padding-top:10px;
text-align:center;
}
</style>
</head>
<body bgcolor="white">
	<%@ include file="/admin/head.jsp"%>
	<!-- main_begin -->
	<div class="pwsj_cont_box">
	<%@ include file="/admin/left.jsp"%>
	<!-- 右侧内容_begin -->
	<div class="pwsj_cont_right_box" scroll="no">
		<div id="excelAddBox" class="add_members_box" style="display: none;width: 435px;">
			<div class="add_members_box_title">
				用户批量导入
				<img src="<%=basePath %>user/images/add_members_close.jpg" alt="" class="close" style="left: 405px;" />
			</div>
			<div id="dh" style="overflow: auto;">
			<div class="info_revise" style="padding-bottom:0px">
				<ul>
					<li>
						<input type="text" style="height:30px;width:200px;padding:0px 15px;" id="data_imp_file_text" class="file_text">
						<input type="button" style="height:30px; width:60px" id="data_imp_file_select" class="btn" value="选择" onclick="document.getElementById('userFile').click();" />
						<input type="file" name="userFile" id="userFile"  style="display: none" /></li>
				</ul>
			</div>
		    <div class="complete_box_submit"><input class="complete_submit" type="button" onclick="batchadd();" value="导入" /></div>
		    <!-- 添加成员列表内容_begin -->
			<div class="add_members_cont_box" style="display: none">
				<div class="add_members_cont_title">
					<ul class="add_members_cont_title_ul">
						<li class="number" style="width: 8%">序号</li>
						<li class="username" style="width: 22%">公司名</li>
						<li class="tel_num" style="width: 20%">用户名</li>
						<li class="checked" style="width: 25%">手机号</li>
						<li class="checked" style="width: 25%">错误信息</li>
					</ul>
				</div>
				<!-- 成员列表_begin -->
				<div id="errorContent">
					
				</div>
				<!-- 成员列表_end -->
			</div>
			<!-- 添加成员列表内容_end -->
			</div>
		</div>
		<div class="pwsj_right_byq" scroll="no">
			<div class="argument_box">
				<!-- 参数标题-begin -->
				<div class="argument_title">
					<p class="title">配网系统短信群发</p>
					<a  class="show"></a>
					<div class="clear"></div>
				</div>				
				<!-- 参数标题-end -->
				<!-- 参数内容_begin -->
				<div class="argument_cont_box">
					<ul class="argument_cont_ul">
						<li class="argument_cont_title"><span>收件人：</span></li>
						<li class="argument_cont_sms">
							<textarea  style="margin: 10px 0 0 0;" rows="5" cols="110" maxlength="6000" id="receivers"></textarea>
							<input class="import" type="button" value="短信用户导入" onclick="excelShow();"/>
						</li>
						<div class="clear"></div>
					</ul>
					<ul class="argument_cont_ul">
						<li class="argument_cont_title"><span>短信内容：</span></li>
						<li class="argument_cont_sms"><textarea style="margin: 10px 0;" rows="5" cols="110" maxlength="500" id="content"></textarea></li>
						<div class="clear"></div>
					</ul>
					<ul class="argument_cont_ul">
						<li class="argument_cont_title"  style="margin: 10px 0;"><span>验证码：</span></li>
						<li class="argument_cont_sms"  style="margin: 10px 0;">
						<p class="captcha"  style="float: left"><input style="width:80px; position:relative; text-indent:12px;margin: 5px 10px 10px 0;height: 30px;" id="imageCode" name="imageCode" maxlength="4" type="text" class="input_txt" onkeydown="keyDown();"/></p>
                        <a href="javascript:changeImageCode();"  style="float: left"><img  id="imageCodeImg" src="<%=basePath %>imageCode" width="100" height="40" class="captcha_code" /></a>
                        </li>
						<div class="clear"></div>
					</ul>
					<ul class="argument_cont_ul">
						<li class="argument_cont_submit"><div><input class="btn" type="button" id="confirm" value="确定" onclick="sendsms()"/><input style="margin-left:40px;" class="btn" type="button" id="reset" value="重置" onclick="reset()"/></div></li>
						<div class="clear"></div>
					</ul>
					<p style="color:red;">注意：在收件人中填写手机号，每位收件人的手机号之间用分号隔开</p>
				</div>
				<!-- 参数内容_end -->
			</div>
			<!-- 运行参数_end -->
		</div>	
		<!-- 变电站_end -->
	</div>
	<!-- 右侧内容_end -->
	<div class="clear"></div><!-- 清除左右浮动 -->
	</div>
	<!-- main_end -->
	<%@ include file="/admin/foot.jsp"%>
</body>
</html>